
{% extends 'film_app2/base.html' %}

{% load static %}

{% block body %}



	<!-- 查询统计 -->
	<div class="search-stats">
		<div class="header">
			<h3>
				<strong class="search-title">{{ keyword }}</strong>
				视频共(
				<strong class="search-num">{{ search_list|length }}</strong>
				个)
			</h3>
		</div>
		<p class="line"></p>
	</div>
	<!-- 查询结果 -->
	<section class="search-list">
		<ul class="list-wrap">

            {% for info in search_list %}
			<li>
				<a href="{{ info.film_url }}" class="clearfix">
					<div class="left-box">
						<img src="{{ info.img_url.0 }}" alt="">
					</div>
					<div class="right-box">
						<h1 class="video-title">{{ info.name.0 }}</h1>
						<div class="cont">
							<p class="p"><span class="le">地区：</span><span class="ri">{{ info.di_qu|join:',' }}</span></p>
							<p class="p"><span class="le">类型：</span><span class="ri">{{ info.lei_xing }}</span></p>
							<p class="p"><span class="le">导演：</span><span class="ri">{{ info.dao_yan|join:',' }}</span></p>
							<p class="p pt"><span class="le">来源：</span><span class="ri">123ku</span></p>
							<p class="p"><span class="le">时间：</span><span class="ri">{{ info.shang_yin.0 }}</span></p>
						</div>
					</div>
				</a>
			</li>
            {% endfor %}
		</ul>
	</section>



<script type="text/html" id="video-temp">
	<% $.each(data, function(k, v){ %>
		<li>
			<a href="./play.html?name=<%= v.name %>" class="clearfix">
				<div class="left-box">
					<img src="<%= v.img_url[0] %>" alt="">
				</div>
				<div class="right-box">
					<h1 class="video-title"><%= v.name %></h1>
					<div class="cont">
						<p class="p"><span class="le">分类：</span>
							<span class="ri">
								<%= v.lei_xing.substring(0,3) %>
							</span>
						</p>
						<!-- <p class="p"><span class="le">类型：</span><span class="ri"><%= v.lei_xing %></span></p> -->
						<p class="p"><span class="le">演员：</span><span class="ri"><%= v.zhu_yan %></span></p>
						<p class="p pt"><span class="le">状态：</span><span class="ri">BD高清</span></p>
						<p class="p"><span class="le">时间：</span><span class="ri"><%= v.update %></span></p>
					</div>
				</div>
			</a>
		</li>
	<% }) %>
</script>
<script src="{%static 'public/js/search-list.js'%}"></script>


{% endblock %}